Skip to content

Conversation

@ShinHeeEul
Copy link
Contributor

🧷 문제 링크

링크

🧭 풀이 시간

720 분

👀 체감 난이도

✏️ 문제 설명

루트가 1인 트리에서 두 수의 최소 공통 조상 찾아라. N = 10만이다.

🔍 풀이 방법

LCA... 연습좀 하자.

⏳ 회고

희소 배열(Parent)는 [N][logN]이다 까먹지 말길. [N][N]으로 했다가 시초, 공초 엄청나게 겪었다.

@ShinHeeEul ShinHeeEul self-assigned this Feb 3, 2025
@ShinHeeEul ShinHeeEul merged commit 43545df into main Feb 3, 2025
1 check passed
@ShinHeeEul ShinHeeEul added the success 👍 해설을 보지 않고 풀었을 때 label Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

success 👍 해설을 보지 않고 풀었을 때

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants